DeliverNow Method (Session Object) 

The DeliverNow method requests immediate delivery of all undelivered messages submitted in the current session.

Syntax

objSession.DeliverNow()

Parameters

objSession

Required. The Session object.

 

Remarks

The DeliverNow method ultimately calls the MAPI spooler s IMAPIStatus::FlushQueues method to request that all messages in all inbound and outbound queues be received or delivered immediately. FlushQueues is invoked synchronously, and performance degradation is possible during the processing of this request.